public class Finger extends Gues {//自己出拳
    public String gues(){
        int b=this.getA();
        b=(int)(Math.random()*3+1);
        if (b==1){
          String  gue="剪刀";
            return gue;
        }else if (b==2){
         String   gue="石头";
            return gue;
        }else {
            String gue="布";
            return gue;
        }
    }
}
